using System.Collections.Generic;

public class AchivementsLayer : UILayer
{
	public AchivementUIButton buttonPrefab;

	public StoryDialogController story;

	public UITable table;

	private List<AchivementUIButton> buttons = new List<AchivementUIButton>();

	private void Awake()
	{
		buttons.Add(buttonPrefab);
	}

	private void OnEnable()
	{
		Init();
	}

	private void Init()
	{
		foreach (AchivementUIButton button in buttons)
		{
			button.gameObject.SetActive(false);
		}
		int num = 0;
		table.Reposition();
	}
}
